package cn.txauction.business.dao;

import java.util.List;

import cn.txauction.business.dao.base.IBaseDao;
import cn.txauction.modal.TxAuctionrecord;
import cn.txauction.modal.TxItem;

public interface IAuctionrecordDao extends IBaseDao<TxAuctionrecord> {
	/**
	 * 根据商品ID返回该商品竞拍记录
	 * @param itemid
	 * @return
	 */
	public List<TxAuctionrecord>  findByUser(long memberid);
	public List<TxAuctionrecord>  findByItemAndUser(TxItem item, long memberid);
}
